CES Help Document > Discord Bots > How to
How to
1. Step-by-Step Installation Guide
Install Node.js
Make sure Node.js (v16 or higher) is installed on your machine or hosting service.
2. Download or Extract the Bot Files
Unzip the file you received.
Place the contents in a new folder on your machine or server.
Example:
{
"token": "YOUR_BOT_TOKEN_HERE",
"prefix": "!",
"ownerID": "YOUR_DISCORD_ID"
}
Never share your bot token!
3. Install Dependencies
Open a terminal in the bot's folder and run
npm install
This will install all required packages listed in package.json
4. Start the Bot
After configuration and installation:
node index.js
Or, if using a different entry point (like bot.js, main.js, etc.), adjust the command.
5. Hosting Options
You can host your bot:
Locally (keep your PC running)
On a VPS with new horizon hosting
6. Bot Commands & Features
Once online, your bot will respond to commands using the prefix you set (!help, !commands, etc.). A full command list should be included or type !help in your server.
7. Need Help?
If you're having issues:
Double-check your bot token and config
Look at your terminal for errors
Reach out with a screenshot or error message
We're happy to assist you in Discord
Review this page
bot discord
1 recommend this page